﻿<div class="gis_AnalyzeDijit">
    <div data-dojo-type="dijit/form/Form" data-dojo-attach-point="StatisticsFormDijit">
        <table style="width: 100%;border-spacing: 5px;border-collapse: separate;">
            <tr>
                <td style="font-weight: bold;">类别：</td>
                <td>
                    <select data-dojo-type="dijit/form/FilteringSelect"
                            data-dojo-props="autoComplete:true,required:true,style:'width:100%;'"
                            data-dojo-attach-point="typeDijit" data-dojo-attach-event="onChange:queryLayerChange">
                        <option value="qjsgc_obj" selected="selected">长宁区建设工程</option>
                        <option value="spgc_obj">长宁市批工程</option>
                    </select>
                </td>
            </tr>
            <tr data-dojo-attach-point="drawToolbar" >
                <td></td>
                <td>
                    <button data-dojo-type="dijit/form/Button" data-dojo-attach-point="rectangleButton"
                            data-dojo-props="iconClass:'adw-icon-rectangle',showLabel:false,drawType:'Rectangle'"
                            data-dojo-attach-event="onClick:selectByRectangle"
                            class="drawButton"
                            title="${i18n.labels.rectangle}">
                        ${i18n.labels.rectangle}
                    </button>

                    <button data-dojo-type="dijit/form/Button" data-dojo-attach-point="polygonButton"
                            data-dojo-props="iconClass:'adw-icon-polygon',showLabel:false,drawType:'Polygon'"
                            data-dojo-attach-event="onClick:selectByPolygon"
                            class="drawButton"
                            title="${i18n.labels.polygon}">
                        ${i18n.labels.polygon}
                    </button>

                    <button data-dojo-type="dijit/form/Button" data-dojo-attach-point="stopDrawingButton"
                            data-dojo-props="iconClass:'fa fa-stop',showLabel:false,disabled:true"
                            data-dojo-attach-event="onClick:stopDrawing"
                            class="drawButton"
                            title="${i18n.labels.stopDrawing}">
                        ${i18n.labels.stopDrawing}
                    </button>

                    <button data-dojo-type="dijit/form/Button"
                            data-dojo-attach-point="eraseDrawingButton"
                            data-dojo-props="iconClass:'fa fa-refresh',showLabel:false"
                            data-dojo-attach-event="onClick:clearResults"
                            class="drawButton"
                            title="${i18n.labels.clearDrawing}">
                        ${i18n.labels.clearDrawing}
                    </button>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <span style="font-weight: bold">${i18n.labels.currentDrawMode}</span>
                    <span data-dojo-attach-point="drawModeTextNode">${i18n.labels.currentDrawModeNone}</span>
                </td>
            </tr>
        </table>

        <div data-dojo-attach-point="findResultsNode" class="resultsContainer"></div>
        <div data-dojo-attach-point="findResultsGrid" class="resultsGrid"></div>
    </div>
</div>